package com.zzl.finance.data.dto;

import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import com.zzl.apidoc.constants.RequiredType;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author : spp
 * @date : 2021/12/2 18:55
 */
@Data
@ApidocModel
public class BwRelationAddDto {


    @NotNull(message = "供应商id 不能为空")
    @ApidocModelProperty(description = "供应商id", required = RequiredType.TRUE)
    private String enterpriseId;

    @ApidocModelProperty(description = "理由")
    private String remark;

    @NotNull(message = "是否时黑名单 不能为空")
    @ApidocModelProperty(description = "是否时黑名单 0 白名单 1 黑名单", required = RequiredType.TRUE)
    private Integer isBlackList;


    @ApidocModelProperty(description = "企业评级，添加白名单时必填")
    private Integer enterpriseGrade;
}
